package com.ruoyi.zhjd.laboratory.modules.disconnectRecord.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;


/**
 * 工地现场断网记录视图对象 n_site_disconnect_record
 *
 * @author zyb
 * @date 2023-10-13
 */
@Data
@ExcelIgnoreUnannotated
public class NSiteDisconnectRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 汇总源表主键
     */
    @ExcelProperty(value = "汇总源表主键")
    private Long id;

    /**
     * 采集设备终端编号
     */
    @ExcelProperty(value = "采集设备终端编号")
    private String type;

    /**
     * 数据抽取源表主键
     */
    @ExcelProperty(value = "数据抽取源表主键")
    private Long sourceId;

    /**
     * 组编号(32位UUID)
     */
    @ExcelProperty(value = "组编号(32位UUID)")
    private String groupId;

    /**
     * 组序号
     */
    @ExcelProperty(value = "组序号")
    private Long groupNo;

    /**
     * 开机时间
     */
    @ExcelProperty(value = "开机时间")
    private Date bootTime;

    /**
     * 断网开始时间
     */
    @ExcelProperty(value = "断网开始时间")
    private Date disconnectBegin;

    /**
     * 断网结束时间
     */
    @ExcelProperty(value = "断网结束时间")
    private Date disconnectEnd;

    /**
     * 断网时长(分钟)
     */
    @ExcelProperty(value = "断网时长(分钟)")
    private Long disconnectDuration;

    /**
     * 关机时间
     */
    @ExcelProperty(value = "关机时间")
    private Date unattendedTime;

    /**
     * 0：已完成记录；-1：开机运行时记录
     */
    @ExcelProperty(value = "0：已完成记录；-1：开机运行时记录")
    private Long send;

    /**
     * 是否正常关机：YES;NO
     */
    @ExcelProperty(value = "是否正常关机：YES;NO")
    private String isNormalShutdown;

    /**
     * 采集创建时间
     */
    @ExcelProperty(value = "采集创建时间")
    private Date createDate;
    /**
     * ------------------------ 实验室回显数据汇总接收用 ----------------------------
     */
    @ExcelProperty(value = "单位名称")
    private String deptName;
    @ExcelProperty(value = "实验室名称")
    private String laboratoryName;
    @ExcelProperty(value = "设备型号")
    private String model;
    @ExcelProperty(value = "设备名称")
    private String deviceName;
    @ExcelProperty(value = "合计断网时长")
    private Long totalDuration;
    @ExcelProperty(value = "开机次数")
    private Long bootCount;
    @ExcelProperty(value = "设备状态")
    private String deviceStatus;
    @ExcelProperty(value = "设备状态描述")
    private String deviceStatusName;
    /**
     * ------------------------ 历史记录数据汇总接收用 ----------------------------
     */
    @ExcelProperty(value = "断联次数")
    private Long recordCount;
    @ExcelProperty(value = "开机时长")
    private String bootDuration;
    @ExcelProperty(value = "联网时长占比")
    private String bootProportion;
}
